import { Annotation } from 'doctrine'
import { Type } from '../utils/giveTypeAnswer'
export type propertiesInfoTypes = { name: string; type: Type; doc: ('' | Annotation)[] }
export type methodsInfoTypes = {
  name: string
  doc?: undefined | Annotation | null
  return: Type
  params: {
    name: string
    type: Type
  }[]
}
export interface ClassTypes {
  type: 'class'
  name: string
  constructorInfo: {
    params: {
      name: string
      type: Type
      doc?: undefined | Annotation | null
    }[]
  }
  methodsInfo: methodsInfoTypes[]
  propertiesInfo: propertiesInfoTypes[]
  doc?: undefined | Annotation
}
